home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / pbm / pbm_man.zoo / man1 / pnmdepth.1 < prev    next >
Text File  |  1994-08-27  |  816b  |  67 lines

  1.  
  2.  
  3.  
  4. pnmdepth(1)              USER COMMANDS                pnmdepth(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      pnmdepth - change the maxval in a portable anymap
  10.  
  11. SYNOPSIS
  12.      pnmdepth _✓n_✓e_✓w_✓m_✓a_✓x_✓v_✓a_✓l [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
  13.  
  14. DESCRIPTION
  15.      Reads a portable anymap as  input.   Scales  all  the  pixel
  16.      values, and writes out the image with the new maxval.  Scal-
  17.      ing the colors down to a smaller maxval will result in  some
  18.      loss of information.
  19.  
  20.      Be careful of off-by-one errors when choosing the  new  max-
  21.      val.   For instance, if you want the color values to be five
  22.      bits wide, use a maxval of 31, not 32.
  23.  
  24. SEE ALSO
  25.      pnm(5), ppmquant(1)
  26.  
  27. AUTHOR
  28.      Copyright (C) 1989, 1991 by Jef Poskanzer.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.0   Last change: 12 January 1991                  1
  64.  
  65.  
  66.  
  67.